<@master template="master/master-loan"  title="人员角色">
<div class="detaiTab detaiTab1">
<form  action="/act/userRole/list" class="clearfix" data-action-html="#action_load_body" method="POST" id="userRoleForm" >
	  <table border="0" cellpadding="0" cellspacing="0" width="100%">
	  	 <tr>
		  	 <td class="bg" align="right" width="15%">员工姓名:</td>
		     <td>
				<input type="text" class="tabInp" name="userName" placeholder="员工姓名"  value="${userRoleForm.userName}"/>
		    </td>
		    <td class="bg" align="right" width="15%">员工账号:</td>
		     <td>
				<input  class="action-valid-field tabInp"  type="text" name="account" value="${userRoleForm.account}" placeholder="员工账号" />
		    </td>
	    </tr>
	    <tr>
	    	<td class="bg" align="right">经营平台:</td>
	    	<td><@autocomplete url="/act/org/search?name=" name="orgName" value="${userRoleForm.orgName}" hideIdName="orgId" />(联想)</td>
	    	<td class="bg"  align="right" width="15%"></td><td></td>
	    </tr>
	   	<tr>
           <td class="bg"></td>
           <td colspan="3"><input type="submit" value="搜索" class="btn_auto_30 btn_blue" /></td>
         </tr>
        </table>
	</form>
</div>
<div class="dataBable mt20">
	<table width="100%" border="0" cellspacing="0" cellpadding="0">
		<thead>
			<tr>
				<th>姓名</th>
				<th>经营平台</th>
				<th>角色名称</th>
				<th>账号</th>
				<th>手机号</th>
				<th>操作</th>
			</tr>
		</thead>
		<tbody>
			<#if page.data?? && page.data?size gt 0>
				<#list page.data as item>
				<tr <#if item_index%2!=0 >class="bg"</#if>>
					<td>${item.userName}</td>
					<td>${item.orgName}</td>
					<td>${item.roleName}</td>
					<td>${item.account}</td>
					<td>${item.mobile}</td>
					<td>
						<a class="" href="/act/userRole/add-${item.userNo}">新增权限</a>
						<a class="action-ajax-btn" data-url="<@url value='/act/userRole/delete/confirm-${item.id}'/>" href="javascript:void(0);">删除权限</a>
					</td>
				</tr>
				</#list>
			<#else>
				<tr><td colspan="6"><div class="mtb20 c666 tac">暂无数据</div></td></tr>
			</#if>
		</tbody>
	</table>
	<@include file="/common/pagination" />
</div>
</@master>